package com.huawei.java.main;

import com.huawei.java.main.algorithm.Solve;

import java.io.IOException;

public class Main {

    public static void main(String[] args) throws IOException {
        final Input input = new Input(System.in);

        final Solve solve = new Solve(input);
        solve.solve();

        final Output output = solve.getOutput();
        output.print(System.out);
    }
}